package org.fight.landowner.common.util;

import org.apache.commons.lang3.StringUtils;

/**
 * @Author wangxuehao02
 * @Date 2024/2/2 10:23 AM
 * @Description
 * 操作系统工具类
 * https://blog.51cto.com/u_16213399/6991678
 **/
public class OSUtil {

    /**
     * todo 是否有性能问题
     * @return
     */
    public static boolean isLinux() {
        return StringUtils.containsIgnoreCase(System.getProperty("os.name"), "linux");
    }
}
